package cn.kpi.service.sys;

import java.util.List;
import java.util.Map;

import cn.kpi.entity.sys.OrgEntity;

public interface IOrgService {
	public int InsertEntity(OrgEntity entity) throws Exception;
	public List<OrgEntity> GetOrgList()throws Exception;
	public int DeleteEntity(Long orgid) throws Exception;
	public OrgEntity GetOrgById(Long orgid)throws Exception;
	public OrgEntity GetOrgByName(String orgName)throws Exception;
	public List<OrgEntity> GetOrgListByWhere(String where)throws Exception;
	public int UpdateEntity(OrgEntity entity)throws Exception;

}
